package com.hnu.store.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import java.io.Serializable;
import lombok.Data;

/*  nft实体类 修改11.10*/
@Data
public class Work extends BaseEntity implements Serializable {

  private String id;
  private String workName;
  private Integer userId;
  private Integer type;
  private Integer num;
  private String introductionUrl;
  //作品文件存放位置，上传的文件放在此处
  private String fileLocation;
  private String isPublished;
  @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
  private String completionTime;
  private String completionLocation;
  private Integer isAuthor;
  private Integer status;
  //作品文件名
  private String fileName;
  private String fileDownloadUrl;
  private String authorName;
  private String authorIdNumber;
  //文件哈希
  private String fileHash;
  //链上交易哈希0
  private String chainHash;
  private String publishedLocation;
  @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
  private String publishedTime;
  private String copyrightOwnerName;
  private String copyrightOwnerId;
  private Integer copyrightOwnerType;
  private Integer idType;
  //ipfs上的地址
  private String workUri;
  private Integer isAuthority;
  private String chainTime;
  private String certificateFileLocation;
  private String workTag1;
  private String workTag2;
  private String workTag3;
  private String blockHeight;

  public Work() {

  }
}
